package com.wtwd.device.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wtwd.device.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author zdl
 * @date 2023/10/25 15:59
 */
@ApiModel(value="com-wtwd-haifit-model-entity-AppConfiguration")
@TableName(value = "app_configuration")
public class AppConfiguration extends BaseEntity {
    /**
     * ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value="ID")
    private Long id;

    /**
     * app名称
     */
    @TableField(value = "name")
    @ApiModelProperty(value="app名称")
    private String name;

    @TableField(value = "user_table")
    @ApiModelProperty(value = "用户表")
    private String userTable;

    /**
     * 短信配置
     */
    @TableField(value = "sms")
    @ApiModelProperty(value="短信配置")
    private String sms;

    /**
     * 邮件配置
     */
    @TableField(value = "email")
    @ApiModelProperty(value="邮件配置")
    private String email;



    /**
     * 获取ID
     *
     * @return id - ID
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置ID
     *
     * @param id ID
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取app名称
     *
     * @return name - app名称
     */
    public String getName() {
        return name;
    }

    /**
     * 设置app名称
     *
     * @param name app名称
     */
    public void setName(String name) {
        this.name = name;
    }

    public String getUserTable() {
        return userTable;
    }

    public void setUserTable(String userTable) {
        this.userTable = userTable;
    }

    /**
     * 获取短信配置
     *
     * @return sms - 短信配置
     */
    public String getSms() {
        return sms;
    }

    /**
     * 设置短信配置
     *
     * @param sms 短信配置
     */
    public void setSms(String sms) {
        this.sms = sms;
    }

    /**
     * 获取邮件配置
     *
     * @return email - 邮件配置
     */
    public String getEmail() {
        return email;
    }

    /**
     * 设置邮件配置
     *
     * @param email 邮件配置
     */
    public void setEmail(String email) {
        this.email = email;
    }
}